<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>虚拟商品 - Web3 AI数字人NFT交互平台</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #0f0f2d 0%, #1a1a40 100%);
            color: white;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow-y: auto;
        }
        .market-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .search-bar {
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 10;
            background: rgba(15, 15, 45, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .search-input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 10px 15px;
            width: 100%;
            color: white;
        }
        .filter-bar {
            display: flex;
            overflow-x: auto;
            padding: 10px 15px;
            gap: 10px;
            background: rgba(15, 15, 45, 0.5);
            white-space: nowrap;
        }
        .filter-chip {
            background: rgba(124, 58, 237, 0.2);
            border: 1px solid rgba(124, 58, 237, 0.5);
            border-radius: 20px;
            padding: 6px 12px;
            font-size: 12px;
            color: #a78bfa;
            display: inline-block;
        }
        .filter-chip.active {
            background: #7c3aed;
            color: white;
        }
        .goods-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            padding: 15px;
            overflow-y: auto;
            flex: 1;
        }
        .goods-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .goods-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.3);
        }
        .goods-image {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            background: rgba(255, 255, 255, 0.02);
        }
        .goods-info {
            padding: 12px;
        }
        .goods-name {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 14px;
        }
        .goods-description {
            color: #a78bfa;
            font-size: 12px;
            margin-bottom: 8px;
        }
        .goods-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .price-value {
            font-weight: bold;
            color: #3b82f6;
            font-size: 14px;
        }
        .buy-button {
            background: rgba(124, 58, 237, 0.2);
            color: #a78bfa;
            border-radius: 12px;
            padding: 4px 8px;
            font-size: 10px;
            border: 1px solid rgba(124, 58, 237, 0.5);
        }
        .category-header {
            padding: 15px 20px 5px;
            font-weight: bold;
            font-size: 18px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .see-all {
            font-size: 12px;
            color: #a78bfa;
        }
        .glow {
            position: fixed;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
        }
        .glow-1 {
            top: 20%;
            left: 10%;
            background: rgba(124, 58, 237, 0.15);
        }
        .glow-2 {
            bottom: 10%;
            right: 10%;
            background: rgba(59, 130, 246, 0.15);
        }
    </style>
</head>
<body>
    <div class="glow glow-1"></div>
    <div class="glow glow-2"></div>
    
    <div class="market-container">
        <div class="search-bar">
            <div class="relative">
                <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                <input type="text" class="search-input pl-10" placeholder="搜索虚拟商品...">
            </div>
        </div>
        
        <div class="filter-bar">
            <div class="filter-chip active">全部</div>
            <div class="filter-chip">装饰品</div>
            <div class="filter-chip">服装</div>
            <div class="filter-chip">礼物</div>
            <div class="filter-chip">食物</div>
            <div class="filter-chip">特效</div>
            <div class="filter-chip">价格</div>
        </div>
        
        <div class="category-header">
            <div>热门礼物</div>
            <div class="see-all">查看全部 <i class="fas fa-chevron-right ml-1"></i></div>
        </div>
        
        <div class="goods-grid">
            <!-- 虚拟商品1 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #ec4899;">
                    <i class="fas fa-rose"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">电子玫瑰</div>
                    <div class="goods-description">浪漫礼物 · 特效</div>
                    <div class="goods-price">
                        <div class="price-value">80 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
            
            <!-- 虚拟商品2 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #f59e0b;">
                    <i class="fas fa-crown"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">皇冠</div>
                    <div class="goods-description">高级礼物 · 装饰</div>
                    <div class="goods-price">
                        <div class="price-value">1000 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
            
            <!-- 虚拟商品3 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #3b82f6;">
                    <i class="fas fa-rocket"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">火箭</div>
                    <div class="goods-description">特效礼物 · 动画</div>
                    <div class="goods-price">
                        <div class="price-value">500 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
            
            <!-- 虚拟商品4 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #a78bfa;">
                    <i class="fas fa-gem"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">钻石</div>
                    <div class="goods-description">珍贵礼物 · 特效</div>
                    <div class="goods-price">
                        <div class="price-value">200 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="category-header">
            <div>虚拟服装</div>
            <div class="see-all">查看全部 <i class="fas fa-chevron-right ml-1"></i></div>
        </div>
        
        <div class="goods-grid">
            <!-- 虚拟商品5 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #10b981;">
                    <i class="fas fa-tshirt"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">太空服</div>
                    <div class="goods-description">限量服装 · 装饰</div>
                    <div class="goods-price">
                        <div class="price-value">300 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
            
            <!-- 虚拟商品6 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #6366f1;">
                    <i class="fas fa-hat-wizard"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">魔法帽</div>
                    <div class="goods-description">稀有装饰 · 头饰</div>
                    <div class="goods-price">
                        <div class="price-value">250 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
            
            <!-- 虚拟商品7 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #ef4444;">
                    <i class="fas fa-glasses"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">炫酷眼镜</div>
                    <div class="goods-description">时尚装饰 · 配件</div>
                    <div class="goods-price">
                        <div class="price-value">150 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
            
            <!-- 虚拟商品8 -->
            <div class="goods-card">
                <div class="goods-image" style="color: #fcd34d;">
                    <i class="fas fa-socks"></i>
                </div>
                <div class="goods-info">
                    <div class="goods-name">星空袜</div>
                    <div class="goods-description">可爱装饰 · 配件</div>
                    <div class="goods-price">
                        <div class="price-value">100 币</div>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>